import Cookies from 'js-cookie'

const userInfoKey = 'user_info'


export function getUserInfo() {
  return Cookies.get(userInfoKey)
}

export function setUserInfo(userInfo) {
  return Cookies.set(userInfoKey, userInfo)
}

export function removeUserInfo() {
  return Cookies.remove(userInfoKey)
}


